﻿#include "PlayerInfo.h"
#include<iostream>
#include<string>


PlayerInfo::PlayerInfo()
{
    PlayerInfo("");
}

PlayerInfo::PlayerInfo(std::string acc)
{
    account = acc;
    passwd = "";
    money = 0;
    pet = "";
    hungry = 0;
    play = 0;
    train = 0;
    lastOfflineTime = 0;
    health = 0;
    attack = 0;
    defend = 0;
    dodge = 0;
    crit = 0;
    level = 0;
    stage = 0;
    bag = Bag();
    isLogined=false;
}